<div id="goodslist" class="tableform">
	<div class="goodslistcontent">
		<table  width="100%" cellpadding="0" cellspacing="0">
            <tr>
				<th><{t app="b2c"}>图片:<{/t}></th>
				<td>
					<input type=hidden name=ppic1 value="<{$setting.ppic1}>">
                    <input name='ppic1' value="<{$setting.ppic1}>">
					<input type=button value=上传图片 class="uploadbtn" onclick="addPic(this);">
				</td>
				<th><{t app="b2c"}>链接地址:<{/t}></th>
                <td>
                    <input name="goodsrc1" value="<{$setting.goodsrc1}>">
                </td>
            </tr>
			<tr>
                <th><{t app="b2c"}>品牌名称:<{/t}></th>
                <td>
                   <input name="branddes1" value="<{$setting.branddes1}>">
                </td>
				<th><{t app="b2c"}>系列名称:<{/t}></th>
                <td>
                    <input name="series1" value="<{$setting.series1}>">
                </td>
            </tr>
			<tr>
				<th><{t app="b2c"}>图片:<{/t}></th>
				<td>
					<input type=hidden name=ppic2 value="<{$setting.ppic2}>">
                    <input name='ppic2' value="<{$setting.ppic2}>">
					<input type=button value=上传图片 class="uploadbtn" onclick="addPic(this);">
				</td>
				<th><{t app="b2c"}>链接地址:<{/t}></th>
                <td>
                    <input name="goodsrc2" value="<{$setting.goodsrc2}>">
                </td>
            </tr>
			<tr>
                <th><{t app="b2c"}>品牌名称:<{/t}></th>
                <td>
                   <input name="branddes2" value="<{$setting.branddes2}>">
                </td>
				<th><{t app="b2c"}>系列名称:<{/t}></th>
                <td>
                    <input name="series2" value="<{$setting.series2}>">
                </td>
            </tr>
			<tr>
				<th><{t app="b2c"}>图片:<{/t}></th>
				<td>
					<input type=hidden name=ppic3 value="<{$setting.ppic3}>">
                    <input name='ppic3' value="<{$setting.ppic3}>">
					<input type=button value=上传图片 class="uploadbtn" onclick="addPic(this);">
				</td>
				<th><{t app="b2c"}>链接地址:<{/t}></th>
                <td>
                    <input name="goodsrc3" value="<{$setting.goodsrc3}>">
                </td>
            </tr>
			<tr>
                <th><{t app="b2c"}>品牌名称:<{/t}></th>
                <td>
                   <input name="branddes3" value="<{$setting.branddes3}>">
                </td>
				<th><{t app="b2c"}>系列名称:<{/t}></th>
                <td>
                    <input name="series3" value="<{$setting.series3}>">
                </td>
            </tr>
        </table>
	</div>
</div>
<script>
function addPic(eleid){
	var url='index.php?app=desktop&act=alertpages&goto='+encodeURIComponent("index.php?app=image&ctl=admin_manage&act=image_broswer&type=big");
	Ex_Loader('modedialog',function(){
		return new imgDialog(url,{onCallback:function(image_id,image_src){
				$(eleid).getPrevious('input').value=image_src;
		}})	;
	});

}
</script>